package com.wind.web.controller.devlop;

import com.wind.common.core.domain.AjaxResult;
import com.wind.devlop.module1.service.IModule1Service;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;


/**
 * @author chen0
 * @version 1.0
 * @description: TODO
 * @date 2023/4/1 10:33
 */
@RestController
public class module1Controller {

    @Autowired
    private IModule1Service module1Service;

    @GetMapping("/request")
    public AjaxResult getInfo()
    {
        AjaxResult ajax = AjaxResult.success();
        ajax.put("testController", "testController");
        ajax.put("testService", module1Service.testService());
        return ajax;
    }
}
